Object
ResourceStream
IBinaryStreamReader
IBinaryStreamWriter
IBlockReader
IBlockWriter
ResourceStream | The default constructor for the ResourceStream, which takes a FolderItem and a Boolean parameter. |
ResourceStream | Use this constructor to do optimized streaming based on shared memory blocks. |
Buffer | This property can be used to obtain or set the MemoryBlock that is used for a shared memory block based streaming. |
FileRefNum | This property will return a FileRefNum to Old style MacOS file API. The Purpose of this property is to allow people to extend the class with API calls. |
Length | This property will get or set the length of the Stream. |
Position | Use this property to set or get the position of the file cursor within the stream. |
Bind | To bind the stream to a IBlockWriter stream then use the Bind method. |
Close | Use this method to close the stream. |
EOF | This function will return true when the end of the file has been reached when reading from a file. |
LastError | This function will return the number of last error, 0 = no error. |
ProcessBoundBlock | Use the ProcessBoundBlock in a loop to stream between two streams that have been bound together with the Bind method. |
Read | Use this function to read data from the stream. |
ReadBlock | Call the ReadBlock function in a loop to let the stream read data from a shared memory block. |
ReadByte | Use this function to read a single byte as Integer from the stream. |
ReadLong | Use this function to read a long integer value into a REALbasic integer variable. |
ReadPString | Use this function to read a Pascal string from the stream. |
ReadShort | Use this function to read a short integer value into a REALbasic integer variable. |
Write | Use this method to write data to the stream. |
WriteBlock | Call the WriteBlock method in a loop to let the stream write data from the shared MemoryBlock. |
WriteByte | Use this method to write a single byte stored in Integer to the stream. |
WriteBytes | Use this method to write data to the stream. |
WriteLong | Use this method to write a REALbasic Integer as Long Integer to the stream. |
WritePString | Use this method to write a Pascal string to the stream. |
WriteShort | Use this method to write a REALbasic Integer as short Integer to the stream. |